package com.lzy.mall.seckill.feign;

import com.lzy.mall.seckill.vo.SeckillSessionWithSkusVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author lzy
 * @date 2021/10/14 15:44
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {

    @GetMapping("/seckillsession/latestSession")
    List<SeckillSessionWithSkusVo> uploadSecKillSkuLatest();
}
